package com.gaogzhen.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author Administrator
 * @version 1.0
 * @description 修改登录密码参数
 * @date 2022-10-17 11:00
 */
@Data
@ApiModel("修改登录密码参数")
public class UpdatePasswordParam {
    /**
     * 旧密码
     */
    @ApiModelProperty(value = "旧密码")
    @NotBlank
    private String oldPassword;

    /**
     * 新密码
     */
    @ApiModelProperty(value = "新密码")
    @NotBlank
    private String newPassword;

    /**
     * 手机验证码
     */
    @ApiModelProperty(value = "手机验证码")
    @NotBlank
    private String validateCode;
}
